#pragma once

#include "Headers.h"

namespace CinePerfil 
{
	using namespace System;
	using namespace System::ComponentModel;
	using namespace System::Collections;
	using namespace System::Windows::Forms;
	using namespace System::Data;
	using namespace System::Drawing;

	public ref class Series_To_Follow_Window : public System::Windows::Forms::Form
	{
	public:
		Series_To_Follow_Window(Account *a, DataBase *d)
		{
			account = a;
			database = d;
			InitializeComponent();
			load_info();
		}
	protected:
		~Series_To_Follow_Window()
		{
			if (components)
			{
				delete components;
			}
		}
	private: DataBase *database;
	private: Account *account;
	private: System::Windows::Forms::Button^  STFW_Done;
	private: System::Windows::Forms::Button^  STFW_addButton;
	private: System::Windows::Forms::Button^  STFW_removeButton;
	private: System::Windows::Forms::ListBox^  STFW_LB2;
	private: System::Windows::Forms::ListBox^  STFW_LB1;
	private: System::Windows::Forms::Label^  STFW_alreadyFollowedLabel;
	private: System::Windows::Forms::Label^  STFW_availableSeriesLabel;
	private: System::ComponentModel::Container ^components;

#pragma region Windows Form Designer generated code

		void InitializeComponent(void)
		{
			System::ComponentModel::ComponentResourceManager^  resources = (gcnew System::ComponentModel::ComponentResourceManager(Series_To_Follow_Window::typeid));
			this->STFW_Done = (gcnew System::Windows::Forms::Button());
			this->STFW_addButton = (gcnew System::Windows::Forms::Button());
			this->STFW_removeButton = (gcnew System::Windows::Forms::Button());
			this->STFW_LB2 = (gcnew System::Windows::Forms::ListBox());
			this->STFW_LB1 = (gcnew System::Windows::Forms::ListBox());
			this->STFW_alreadyFollowedLabel = (gcnew System::Windows::Forms::Label());
			this->STFW_availableSeriesLabel = (gcnew System::Windows::Forms::Label());
			this->SuspendLayout();
			// 
			// STFW_Done
			// 
			this->STFW_Done->BackColor = System::Drawing::SystemColors::Control;
			this->STFW_Done->Cursor = System::Windows::Forms::Cursors::Hand;
			this->STFW_Done->Font = (gcnew System::Drawing::Font(L"Comic Sans MS", 11.25F, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(0)));
			this->STFW_Done->Location = System::Drawing::Point(242, 250);
			this->STFW_Done->Name = L"STFW_Done";
			this->STFW_Done->Size = System::Drawing::Size(150, 65);
			this->STFW_Done->TabIndex = 0;
			this->STFW_Done->Text = L"Done";
			this->STFW_Done->UseVisualStyleBackColor = true;
			this->STFW_Done->Click += gcnew System::EventHandler(this, &Series_To_Follow_Window::STFW_Done_Click);
			// 
			// STFW_addButton
			// 
			this->STFW_addButton->BackColor = System::Drawing::SystemColors::Control;
			this->STFW_addButton->Font = (gcnew System::Drawing::Font(L"Comic Sans MS", 11.25F, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(0)));
			this->STFW_addButton->Location = System::Drawing::Point(294, 75);
			this->STFW_addButton->Name = L"STFW_addButton";
			this->STFW_addButton->Size = System::Drawing::Size(46, 46);
			this->STFW_addButton->TabIndex = 1;
			this->STFW_addButton->Text = L">>";
			this->STFW_addButton->UseVisualStyleBackColor = true;
			this->STFW_addButton->Click += gcnew System::EventHandler(this, &Series_To_Follow_Window::STFW_addButton_Click);
			// 
			// STFW_removeButton
			// 
			this->STFW_removeButton->BackColor = System::Drawing::SystemColors::Control;
			this->STFW_removeButton->Font = (gcnew System::Drawing::Font(L"Comic Sans MS", 11.25F, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(0)));
			this->STFW_removeButton->Location = System::Drawing::Point(294, 151);
			this->STFW_removeButton->Name = L"STFW_removeButton";
			this->STFW_removeButton->Size = System::Drawing::Size(46, 46);
			this->STFW_removeButton->TabIndex = 2;
			this->STFW_removeButton->Text = L"<<";
			this->STFW_removeButton->UseVisualStyleBackColor = true;
			this->STFW_removeButton->Click += gcnew System::EventHandler(this, &Series_To_Follow_Window::STFW_removeButton_Click);
			// 
			// STFW_LB2
			// 
			this->STFW_LB2->BackColor = System::Drawing::Color::AntiqueWhite;
			this->STFW_LB2->Font = (gcnew System::Drawing::Font(L"Comic Sans MS", 9.75F, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(0)));
			this->STFW_LB2->FormattingEnabled = true;
			this->STFW_LB2->ItemHeight = 18;
			this->STFW_LB2->Location = System::Drawing::Point(354, 35);
			this->STFW_LB2->Name = L"STFW_LB2";
			this->STFW_LB2->Size = System::Drawing::Size(265, 202);
			this->STFW_LB2->TabIndex = 3;
			// 
			// STFW_LB1
			// 
			this->STFW_LB1->BackColor = System::Drawing::Color::AntiqueWhite;
			this->STFW_LB1->Font = (gcnew System::Drawing::Font(L"Comic Sans MS", 9.75F, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(0)));
			this->STFW_LB1->FormattingEnabled = true;
			this->STFW_LB1->ItemHeight = 18;
			this->STFW_LB1->Location = System::Drawing::Point(15, 35);
			this->STFW_LB1->Name = L"STFW_LB1";
			this->STFW_LB1->Size = System::Drawing::Size(265, 202);
			this->STFW_LB1->TabIndex = 4;
			// 
			// STFW_alreadyFollowedLabel
			// 
			this->STFW_alreadyFollowedLabel->AutoSize = true;
			this->STFW_alreadyFollowedLabel->BackColor = System::Drawing::Color::Transparent;
			this->STFW_alreadyFollowedLabel->Font = (gcnew System::Drawing::Font(L"Comic Sans MS", 11.25F, System::Drawing::FontStyle::Regular, 
				System::Drawing::GraphicsUnit::Point, static_cast<System::Byte>(0)));
			this->STFW_alreadyFollowedLabel->Location = System::Drawing::Point(400, 9);
			this->STFW_alreadyFollowedLabel->Name = L"STFW_alreadyFollowedLabel";
			this->STFW_alreadyFollowedLabel->Size = System::Drawing::Size(173, 20);
			this->STFW_alreadyFollowedLabel->TabIndex = 5;
			this->STFW_alreadyFollowedLabel->Text = L"Series already followed";
			// 
			// STFW_availableSeriesLabel
			// 
			this->STFW_availableSeriesLabel->AutoSize = true;
			this->STFW_availableSeriesLabel->BackColor = System::Drawing::Color::Transparent;
			this->STFW_availableSeriesLabel->Font = (gcnew System::Drawing::Font(L"Comic Sans MS", 11.25F, System::Drawing::FontStyle::Regular, 
				System::Drawing::GraphicsUnit::Point, static_cast<System::Byte>(0)));
			this->STFW_availableSeriesLabel->Location = System::Drawing::Point(56, 9);
			this->STFW_availableSeriesLabel->Name = L"STFW_availableSeriesLabel";
			this->STFW_availableSeriesLabel->Size = System::Drawing::Size(183, 20);
			this->STFW_availableSeriesLabel->TabIndex = 6;
			this->STFW_availableSeriesLabel->Text = L"Available series to follow";
			// 
			// Series_To_Follow_Window
			// 
			this->AutoScaleDimensions = System::Drawing::SizeF(6, 13);
			this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
			this->BackColor = System::Drawing::SystemColors::ActiveCaptionText;
			this->BackgroundImage = (cli::safe_cast<System::Drawing::Image^  >(resources->GetObject(L"$this.BackgroundImage")));
			this->ClientSize = System::Drawing::Size(634, 336);
			this->ControlBox = false;
			this->Controls->Add(this->STFW_availableSeriesLabel);
			this->Controls->Add(this->STFW_alreadyFollowedLabel);
			this->Controls->Add(this->STFW_LB1);
			this->Controls->Add(this->STFW_LB2);
			this->Controls->Add(this->STFW_removeButton);
			this->Controls->Add(this->STFW_addButton);
			this->Controls->Add(this->STFW_Done);
			this->MaximumSize = System::Drawing::Size(650, 375);
			this->MinimumSize = System::Drawing::Size(650, 375);
			this->Name = L"Series_To_Follow_Window";
			this->SizeGripStyle = System::Windows::Forms::SizeGripStyle::Hide;
			this->StartPosition = System::Windows::Forms::FormStartPosition::CenterParent;
			this->Text = L"CinePerfil - Series To Follow Management ";
			this->ResumeLayout(false);
			this->PerformLayout();

		}
#pragma endregion
	private: 
		System::Void STFW_Done_Click(System::Object^  sender, System::EventArgs^  e);
		System::Void STFW_addButton_Click(System::Object^  sender, System::EventArgs^  e);
		System::Void STFW_removeButton_Click(System::Object^  sender, System::EventArgs^  e);
		System::Void load_info();
	};
}
